<?php

// Namespace

namespace Snsfg;


/**
 * ISocialNetworkDriver is an interface that defines various operations related to networks (e.g. connect)
 * It must be implemented by a class for each social network
 *
 * @package		Gt_Sync
 * @category	Driver
 */

interface ISocialNetworkDriver
{

	/**
	 *
	 */

	public function completeConnection(&$account);


	/**
	 *
	 */

	public function connectDriver($params = null);


	/**
	 *
	 */
	
	public function disconnect(&$account);


	/**
	 *
	 */
	
	public function getGroups(&$account);


	/**
	 *
	 */
	
	public function getSnsUsers(&$account);


	/**
	 *
	 */
	
	public function getSnsUserInfo(&$account, $openId);


	/**
	 *
	 */
	
	public function postStatus(&$account, $messageContent);


	/**
	 *
	 */
	
	public function startConnection(&$account);


	/**
	 *
	 */

	public function updateStatus(&$account);

}

?>
